package com.neu.credit.creditscore.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(name = "Departments", description = "医院科室信息表")
public class Departments {

    @Schema(description = "科室ID，自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "科室名称")
    private String departmentName;

    @Schema(description = "科室类型 0 内科 1 外科 2 儿科 3 神经科 4 口腔科 5 眼科 6 妇产科 7 心血管内科 8 呼吸内科 9 消化内科）")
    private Integer departmentType;

    @Schema(description = "科室介绍")
    private String departmentIntroduction;

    @Schema(description = "是否删除 0 未删除 1 已删除")
    private int deleted;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}